package com.example.administrator.timereminder;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent arg1) {
        context.startService(new Intent(context, NotifyService.class));
		/*
		 相当于： Intent i=new Intent(context,NotifyService.class);
		 context.startService(i);
		 意思是：当收到Intent响应时就利用context.startService来启动NotifyService
		 */

    }

}
